package com.example.springbootrbac.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("`teacher`")
public class TeacherEntity extends BaseEntity{
    @TableField("tname")
    private String tname;
    @TableField("school")
    private String school;
    @TableField("last_login")
    private Date last_login;
}
